package io.gitee.yxsnake.framework.system.api;

import com.github.lianjiatech.retrofit.spring.boot.core.RetrofitClient;
import io.gitee.yxsnake.framework.core.domain.Result;
import retrofit2.http.GET;
import retrofit2.http.Query;


/**
 * @author snake
 * @description 部门服务
 * @since 2024/11/2 23:05
 */
@RetrofitClient(baseUrl = "${retrofit.pisces-system-server:http://pisces-system-server:21001/}")
public interface RemoteDeptService {


    /**
     * 通过部门ID查询部门名称
     *
     * @param deptIds 部门ID串逗号分隔
     * @return 部门名称串逗号分隔
     */
    @GET(value = "inner/dept/selectDeptNameByIds")
    Result<String> selectDeptNameByIds(@Query("deptIds") String deptIds);

}
